package com.my.auth.security.configuration;

import org.springframework.boot.web.servlet.ServletContextInitializer;
import org.springframework.stereotype.Component;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;

/**
 * @author zhaodongchao
 * @date 2020/3/28 22:18
 **/
@Component
public class MyAuthServerInitializer implements ServletContextInitializer {
    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {


        System.out.println("--------------------->MyAuthServerInitializer");
    }
}
